Package-level declarations
Types
Link copied to clipboard
Listens for Embabel messages and responds in the same channel as the given Discord event.
Link copied to clipboard
class ChatbotSessionEventListener(discordSessionService: DiscordSessionService, chatbot: Chatbot, asyncer: Asyncer, discordConfigProperties: DiscordConfigProperties)
Discord SessionEventListener that uses an Embabel Chatbot
Link copied to clipboard
Link copied to clipboard
Adds all event listeners defined in the context to JDA builder and starts the bot if token is provided.
Link copied to clipboard
Link copied to clipboard
class DiscordSessionService
Service to manage Discord user sessions.
Link copied to clipboard
Embabel User associated with a Discord user.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DiscordUserSession(val user: DiscordUser, val isDirectMessage: Boolean, val channelId: String, val serverId: String? = null, val serverName: String? = null, val createdAt: LocalDateTime = LocalDateTime.now(), var lastActivity: LocalDateTime = LocalDateTime.now(), val sessionData: MutableMap<String, Any> = mutableMapOf())